/*    */ package client.anticheat;
/*    */ 
/*    */ import com.fasterxml.jackson.annotation.JsonCreator;
/*    */ 
/*    */ 
/*    */ public enum ReportType
/*    */ {
/*  8 */   Hacking(0, "hack"),
/*  9 */   Botting(1, "bot"),
/* 10 */   Scamming(2, "scam"),
/* 11 */   FakeGM(3, "fake"),
/*    */   
/* 13 */   Advertising(5, "ad");
/*    */   public final byte i;
/*    */   public final String theId;
/*    */   
/*    */   @JsonCreator
/*    */   ReportType(int i, String theId) {
/* 19 */     this.i = (byte)i;
/* 20 */     this.theId = theId;
/*    */   }
/*    */   
/*    */   public static ReportType getById(int z) {
/* 24 */     for (ReportType t : values()) {
/* 25 */       if (t.i == z) {
/* 26 */         return t;
/*    */       }
/*    */     } 
/* 29 */     return null;
/*    */   }
/*    */   
/*    */   public static ReportType getByString(String z) {
/* 33 */     for (ReportType t : values()) {
/* 34 */       if (z.contains(t.theId)) {
/* 35 */         return t;
/*    */       }
/*    */     } 
/* 38 */     return null;
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\client\anticheat\ReportType.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */